.category {
  font-size: 16px;
  color: #333;
}

.category-header-nav {
  height: 50px;
  background: #ff6c0c;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  ul {
    display: flex;
    width: 140px;
    position: relative;
    // 1px
    border: 1px solid #fff;
    z-index: 0;
    border-radius: 15px;
    height: 30px;
    display: flex;
    align-items: center;
    li {
      width: 50%;
      text-align: center;
      z-index: 2;
      &.active {
        color: #ff6c0c;
        transition: color 0.3s ease-in-out;
      }
    }
    .slider {
      position: absolute;
      width: 50%;
      background-color: white;
      height: 30px;
      z-index: 1;
      transform: translateX(0);
      border-radius: 15px;
      transition: all 0.3s ease-in-out;
    }
    .right {
      transform: translateX(100%);
    }
  }
}

.category-content {
  height: calc(100vh - 152px);
  overflow: hidden;
  display: flex;
  .menu {
    width: 90px;
    background: #f3f3f3;
    ul {
      height: 100%;
      overflow-y: auto;
      // 隐藏滚动条
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      &::-webkit-scrollbar {
        display: none;
      }

      li {
        height: 50px;
        line-height: 50px;
        text-align: center;
        &.active {
          background: #fff;
          color: #ff6c0c;
          transition: color 0.3s ease-in-out;
          span {
            display: inline-block;
            height: 100%;
            border-bottom: 1px solid #ff6c0c;
          }
        }
      }
    }
  }
  .main {
    flex: 1;
    background-color: white;
    ul {
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
      height: 100%;
      overflow-y: auto;
      // 隐藏滚动条
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      &::-webkit-scrollbar {
        display: none;
      }
      li {
        width: 33.333333%;
        height: 50px;
        line-height: 50px;
        text-align: center;
        color: #6e6e6e;
      }
    }
  }
}
